<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        *{
            margin: 0;
            padding: 0;

        }
    #color-input-red +label{
        display: block;
        width: 20px;
        height: 20px;
        cursor: pointer;
        position: absolute;
        border-radius: 3px;
        top: 0px;
        left: 0px;
        box-sizing: border-box;
        border: 1px solid #ff1268;
        background: rgb(255, 205, 223);
    }

    #color-input-red:checked +label::before{
        display: block;
        content: "\2714";
        text-align: center;
        font-size: 16px;
        color: #b30f4b;
        margin-top: -3px;
    }
    </style>
</head>
<body>
        <input id="color-input-red" class="chat-button-location-radio-input" type="checkbox" name="color-input-red" value="#f0544d" />
        <label  for="color-input-red"></label >
</body>
</html>